/**
 * @author florian
 *
 */
PictureManagAir.mainTabPanel = Ext.extend(Ext.TabPanel, {
    border: false,
    initComponent: function(){
        Ext.apply(this, {
            xtype: 'tabpanel',
            activeTab: 0,
            items: [{
                layout: 'border'
                ,title: 'Pictures'
                ,items: [{
                        title: 'Thumb View'
                        ,xtype: 'thumbview'
                        ,region: 'center'
                        ,split:true
                    }
                    ,{
                        title: 'Tree'
                        ,xtype: 'tagtreepanel'
                        ,width: 330
                        ,region: 'west'
                        ,collapsible: true
                        ,split:true
                    }
                    ,{
                        title: 'Infos'
                        ,xtype: 'panel'
                        ,height: 100
                        ,region: 'south'
                    }
                ]
            }, {
                xtype: 'panel',
                title: 'Bindings'
            }, {
                xtype: 'panel',
                title: 'Logs',
                items: [{
                    xtype: 'panel',
                    title: 'Panel'
                }]
            }]
        });
        
        PictureManagAir.mainTabPanel.superclass.initComponent.apply(this, arguments);
    } // eo function initComponent
    
    ,onRender: function(){
        //this.store.load();
        PictureManagAir.mainTabPanel.superclass.onRender.apply(this, arguments);
    } // eo function onRender
});

Ext.reg('maintabpanel', PictureManagAir.mainTabPanel);




